<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>图书详细</title>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link rel="stylesheet" type="text/css"
    href="<c:url value='/jsps/pager/pager.css'/>" />
<%-- <script type="text/javascript"
    src="<c:url value='/jsps/pager/pager.js'/>"></script> --%>
<script src="<c:url value='/jquery/jquery-1.5.1.js'/>"></script>

<link rel="stylesheet" type="text/css"
    href="<c:url value='/jsps/css/book/desc.css'/>">
<script src="<c:url value='/jsps/js/book/desc.js'/>"></script>
</head>

<body>
    <div class="divBookName" style="margin-left: 35px;">${book.bname }</div>
    <div>
        <img align="top" style="margin-left:35px; margin-top:15px;"
            src="<c:url value='/${book.image_w }'/>"
            class="img_image_w" />
        <div class="divBookDesc">
            <ul>
                <li>商品编号：${book.bid }</li>
                <li>优思价：<span class="price_n">&yen;${book.currPrice }</span></li>
                <li>定价：<span class="spanPrice">&yen;${book.price }</span>
                                           折扣： <span style="color: #c30;">${book.discount }</span>折
                </li>
            </ul>
            <hr class="hr1" />
            <table>
                <tr>
                    <td colspan="3">作者：${book.author } 著</td>
                </tr>
                <tr>
                    <td colspan="3">出版社：${book.press }</td>
                </tr>
                <tr>
                    <td colspan="3">出版时间：${book.publishtime }</td>
                </tr>
                <tr>
                    <td>版次：${book.edition }</td>
                    <td>页数：${book.pageNum }</td>
                    <td>字数：${book.wordNum }</td>
                </tr>
                <tr>
                    <td width="180">印刷时间：${book.printtime }</td>
                    <td>开本：${book.booksize } 开</td>
                    <td>纸张：${book.paper }</td>
                </tr>
            </table>
            <div class="divForm">
                <form id="form1"
                    action="<c:url value='/cartItemServlet'/>"
                    method="post">
                    <input type="hidden" name="method" value="add" />
                    <input type="hidden" name="bid" value="${book.bid }" />
                             我要买：<input id="cnt" style="width: 40px; text-align: center;"
                        type="text" name="quantity" value="1" />件
                </form>
                <a id="btn" href="javascript:$('#form1').submit();"></a>
            </div>
        </div>
    </div>
</body>
</html>
